package com.zgf.easy.proxy.anno;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @project: easy_proxy_parent
 * @author: zgf1
 * @date: 2021/12/25 9:41
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Component
@Lazy
public @interface AutoService {

    String value();

    /**
     * 覆盖身份
     * @return
     */
    String overrideIdentity() default "";

}
